#include "sign.h"
#include "ui_sign.h"
#include"sign_in_1.h"
#include<QString>
#include<QPushButton>
sign::sign(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::sign)
{
    ui->setupUi(this);

}
sign::~sign()
{
    delete ui;
}

void sign::on_pushButton_clicked()
{
    QString f,s;
   f=ui->lineEdit->text();
   s=ui->lineEdit_2->text();

   if(s!="123456")
   {  si_1=new sign_in_1;
       si_1->show();
   }
   else
   {if(f=="220"||f=="237"||f=="361"||f=="293")
       {
           manmain=new manager_main_1;
           manmain->show();
           close();
       }
       else
       {  si_1=new sign_in_1;
           si_1->show();

       }


   }

}
